#pragma once
#include <cstddef>

class IBuffer
{

public:
    virtual ~IBuffer(){};

    virtual int getchar()=0;
    virtual void ungetchar(size_t times)=0;
    virtual void putchar(char value)=0;
};

